/*
 * @Author: 陈德基
 * @Date: 2021-11-15 13:49:32
 * @LastEditTime: 2021-11-15 18:49:02
 * @Description: 
 * @FilePath: \copy_gsy_github_app_flutter\lib\routes\app_pages.dart
 * 联系方式：
 * wx: melody_2009
 * qq: 7815171323 
 */
import 'package:copy_gsy_github_app_flutter/page/login/index.dart';
import 'package:copy_gsy_github_app_flutter/page/main/index.dart';
import 'package:copy_gsy_github_app_flutter/page/welcome/index.dart';
import 'package:get/get.dart';

class AppRoute {
  static const WELCOME = '/';
  static const HOME = '/home';
  static const LOGIN = '/login';
}

class AppPages {
  static final pages = [
    GetPage(
        name: AppRoute.WELCOME,
        page: () => WelcomePage(),
        binding: WelcomeBinding()),
    GetPage(
        name: AppRoute.HOME, page: () => MainPage(), binding: MainBinding()),
    GetPage(
        name: AppRoute.LOGIN, page: () => LoginPage(), binding: LoginBinding()),
  ];
}
